package net.frenopatico.citadels.view.enums;

import lombok.Getter;

/**
 * List of possible OpenID providers.
 *
 * @author eduardo.ramirez.ronco@gmail.com
 *
 */
@Getter
public enum OpenIdProviders {
    Google( "Google", "google.com/accounts/o8/id" ), Yahoo( "Yahoo", "yahoo.com" ), MySpace( "MySpace", "myspace.com" ), AOL( "AOL", "aol.com" ), MyOpenId( "MyOpenId.com", "myopenid.com" );

    private final String name; // NOPMD
    private final String uri; // NOPMD

    /**
     * Internal constructor to set the URI.
     *
     * @param url URL to delegate the authentication.
     * @param providerName Name of the OpenID provider.
     */
    private OpenIdProviders( final String providerName, final String url ) {
        this.name = providerName;
        this.uri = url;
    }
}
